package com.cn.kabalifeuser.ui.integral.bean;

import java.util.List;

/**
 * Created by 晓林 on 2020/9/11.
 * function:
 */
public class CartListBean {




    /**
     * code : 200
     * result : {"data":[{"id":9,"uid":7,"good_id":3,"num":1,"spec_id":3821,"spec_key":"白色","title":"商品232","img":"http://oss-fang.xiaoxiucai.xyz/good/1600083518y3ThHV.png","created_at":"2020-09-21 15:59:43","updated_at":"2020-09-21 15:59:43","money":"10.00+1积分","postage":"0.00"}],"count":1}
     * msg : OK
     */

    private int code;
    private ResultBean result;
    private String msg;



    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class ResultBean {
        /**
         * data : [{"id":9,"uid":7,"good_id":3,"num":1,"spec_id":3821,"spec_key":"白色","title":"商品232","img":"http://oss-fang.xiaoxiucai.xyz/good/1600083518y3ThHV.png","created_at":"2020-09-21 15:59:43","updated_at":"2020-09-21 15:59:43","money":"10.00+1积分","postage":"0.00"}]
         * count : 1
         */

        private int count;
        private List<DataBean> data;

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            /**
             * id : 9
             * uid : 7
             * good_id : 3
             * num : 1
             * spec_id : 3821
             * spec_key : 白色
             * title : 商品232
             * img : http://oss-fang.xiaoxiucai.xyz/good/1600083518y3ThHV.png
             * created_at : 2020-09-21 15:59:43
             * updated_at : 2020-09-21 15:59:43
             * money : 10.00+1积分
             * postage : 0.00
             */

            private int id;
            private int uid;
            private int good_id;
            private int num;
            private int spec_id;
            private String spec_key;
            private String title;
            private String img;
            private String created_at;
            private String updated_at;
            private String money;
            private String postage;
            private  int good_num;

            private  boolean isCheck=false;
            public boolean isCheck() {
                return isCheck;
            }

            public void setCheck(boolean check) {
                isCheck = check;
            }

            public int getGood_num() {
                return good_num;
            }

            public void setGood_num(int good_num) {
                this.good_num = good_num;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getUid() {
                return uid;
            }

            public void setUid(int uid) {
                this.uid = uid;
            }

            public int getGood_id() {
                return good_id;
            }

            public void setGood_id(int good_id) {
                this.good_id = good_id;
            }

            public int getNum() {
                return num;
            }

            public void setNum(int num) {
                this.num = num;
            }

            public int getSpec_id() {
                return spec_id;
            }

            public void setSpec_id(int spec_id) {
                this.spec_id = spec_id;
            }

            public String getSpec_key() {
                return spec_key;
            }

            public void setSpec_key(String spec_key) {
                this.spec_key = spec_key;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getImg() {
                return img;
            }

            public void setImg(String img) {
                this.img = img;
            }

            public String getCreated_at() {
                return created_at;
            }

            public void setCreated_at(String created_at) {
                this.created_at = created_at;
            }

            public String getUpdated_at() {
                return updated_at;
            }

            public void setUpdated_at(String updated_at) {
                this.updated_at = updated_at;
            }

            public String getMoney() {
                return money;
            }

            public void setMoney(String money) {
                this.money = money;
            }

            public String getPostage() {
                return postage;
            }

            public void setPostage(String postage) {
                this.postage = postage;
            }
        }
    }
}
